package com.hyt.it.ogt.kq.common.gov.constant;

import com.hyt.core.exception.IFailMessage;
import lombok.Getter;

/**
 * 定义规则
 *
 * 两位编号规则，共升级到8位异常码，
 *    规则：政企考务系统为例    43010101
 *    43  系统标识          【43：政企考务系统】
 *    01  业务功能板块       【01：任务管理模块】
 *    01  接口序号          【01：任务分页查询接口】
 *    01  接口错误类型       【01：任务分页查询接口，size过大校验异常】
 *
 * 异常返回码
 *
 * @author chengxh
 * @since 2022-0110
 */
@Getter
public enum ResponseCode implements IFailMessage {
    RESET_ARRANGE_FAIL(43401001, "重置编排失败"),
    PROCTOR_ARRANGE_NOT_FIX(43410406, "编排失败，没有符合条件的监考员"),
    PROCTOR_ARRANGE_EXIST(43410405, "已存在监考员编排数据，不允许操作此功能"),
    PROCTOR_ARRANGE_NO_PERSON(43410404, "没有监考员，请先添加监考员"),
    PROCTOR_ARRANGE_NOT_MATCH(43410403, "没有符合编排条件的监考员"),
    PROCTOR_ARRANGE_FALSE(43410401, "监考员编排失败"),
    PROCTOR_DATA_LOCK_FALSE(43410402, "监考员编排已锁定"),
    PROCTOR_ARRANGE_NO_DATA(43410407, "没有监考员编排数据，无法锁定编排"),
    PROCTOR_ARRANGE_NOT_ENOUGH(43410408, "监考员数量不够，请添加足够数量的监考员"),
    PROCTOR_ARRANGE_TYPE_DEPT(43410409, "该考生编排模式下，仅支持按机构编排或随机编排监考员"),
    PROCTOR_ARRANGE_TYPE_SELF(43410410, "该考生编排模式下，仅支持按自定义编排或随机编排监考员"),
    PROCTOR_ARRANGE_TYPE_RANDOM(43410411, "该考生编排模式下，仅支持随机编排监考员"),

    ARRANGE_MODE_NOT_SUPPORT(43400313, "暂不支持同一批次多科目，且考场单科目均衡编排"),
    ARRANGE_SAME_SUBJECT_AND_TIME(43400312, "存在考生报考多个科目，且在同一批次"),
    ARRANGE_ADMISSION_NOT_AREA(43400311, "考生没有绑定区域信息，无法按照省市县生成准考证"),
    ARRANGE_NOT_ROOM(43400309, "非虚拟考场编排，需要先添加考点考场"),
    ARRANGE_TIME_NOT_BING_SUBJECT(43400308, "批次未绑定科目，请先绑定"),
    ARRANGE_FAIL(43400307,"编排失败，没有匹配的考生和考场"),
    ARRANGE_ROOM_NULL(43400306,"考场为空"),
    ARRANGE_CANDIDATE_SELF_LEVEL_NULL(43400305,"考生自定义层级为空"),
    ARRANGE_ROOM_SELF_LEVEL_NULL(43400304,"考场自定义层级为空"),
    ARRANGE_CANDIDATE_OFFICE_LEVEL_NULL(43400303,"考生机构层级为空"),
    ARRANGE_ROOM_OFFICE_LEVEL_NULL(43400302,"考场机构层级为空"),
    ARRANGE_ERROR(43400301,"编排失败"),
    PUSH_TIME_SUBJECT_ERROR(43400310,"推送批次科目数据失败"),
    ARRANGE_IMPORT_TIME_ROOM_NOT_ACCEPT(43400106,"批次已绑定免排考场，不能使用自定义编排"),
    ARRANGE_IMPORT_TIME_SUBJECT_NOT_ACCEPT(43400105,"批次已绑定科目，不能使用自定义编排"),
    ARRANGE_IMPORT_TIME_NOT_EXIST(43400104,"未添加批次"),
    ARRANGE_IMPORT_ROOM_NOT_EXIST(43400103,"未添加考点考场"),
    ARRANGE_IMPORT_EXCEL_NULL(43400102,"导入excel没有数据"),
    ARRANGE_IMPORT_ERROR(43400101,"自定义编排导入失败"),
    EXPORT_SIGN_NO_ARRANGE_ERROR(43500303,"没有编排数据，无法导出签到表"),
    EXPORT_DESKTOP_NO_ARRANGE_ERROR(43500304,"没有编排数据，无法导出桌贴"),
    //========================= 通用码 =========================
    // 临时成功码，用于过渡，后续全部替换为正式全局成功码
    SUCCESS_TEMP(30000, "临时成功码"),
    SUCCESS(20000, "全局成功码"),
    COMMON_PARAM_INVALID(43000001, "参数验证异常"),    //前端特殊处理编码30002
    VALID_ONLINE_TASK_CONFIG_ERROR(43000002, "校验任务配置出错"),     //前端特殊处理编码30006
    ERROR_BATCH_IMPORT_ID_NUMBER_DUPLICATE(43000003,"当前考试任务已存在相同的考生证件号码"),
    ERROR_BATCH_IMPORT_CANDIDATE_SUBJECT_REPEAT(43000004,"导入考生中,同一个考生存在相同科目"),
    ERROR_BATCH_IMPORT_SUBJECT_ID_NON_EXISTENT(43000005,"科目code不存在"),
    GLOBAL_EXCEPTION_UNKNOWN(43000006,"请求异常！！！"),
    TIMES_OVERLAP(43000007, "与当前批次绑定了相同考场的其他批次中存在与当前批次时间重叠的批次"),
    REPEAT_COMMIT(43000008, "请勿重复提交"),
    USER_NOT_LOGIN(43010199,"获取不到操作人用户信息"),


    //========================= 1.考试任务接口 =========================
    //1.1
    TASK_ADD_EXCEPTION(43010101,"新增和编辑任务数据异常"),
    CANDIDATE_AREA_ONLINE_INIT(43010102,"线上模式初始化考生区域数据失败"),
    TASK_AREA_ONLINE_INIT(43010103,"线上模式初始化任务区域数据失败"),
    PLACE_AREA_ONLINE_INIT(43010104,"线上模式初始化任务考点数据失败"),
    TASK_NOT_EXIST(43010105,"考试任务不存在"),
    TASK_DATA_LOCK_TRUE(43010106,"数据已锁定，不允许操作此功能"),
    TASK_DATA_LOCK_FALSE(43010107,"数据没有锁定，不允许操作此功能"),
    TASK_TIME_INVALID(43010108,"考试任务结束时间必须大于开始时间"),
    TASK_SHOULD_NOT_START_LATER_THAN_THE_END_TIME(43010109,"考试任务开始时间不能晚于结束时间"),
    TASK_START_TIME_CANNOT_BE_EQUAL_TO_THE_TASK_END_TIME(43010110,"考试任务开始时间不能等于结束时间"),
    TASK_NAME_NOT_MATCH(43010111,"考试任务名称只能包含中文字符、英文字符、数字、下划线和中横线，1~20个字"),
    EXAM_CONFIG_PUSH_KS_RESULT_NONE(43010112,"任务配置，推送到考试系统返回空。"),
    TASK_NAME_ARE_REPEATED(43010113,"考试任务名称重复"),
    TASK_PUBLISH_TRUE(43010114,"任务已发布，不允许操作此功能"),
    //1.2
    GET_TASK_INFO_ERROR(43010201,"获取任务信息异常"),

    //1.3
    GET_TASK_PAGE_INFO_ERROR(43010301,"查询考试任务分页数据异常"),

    //1.4
    TASK_STATE_UPDATE_FAIL(43010401,"修改任务状态失败"),
    TASK_NOT_FIND_CANDIDATE_PUBLISH_FORBID(43010402,"任务下还没有编排考生，不允许发布"),
    TASK_PUBLISH_STATUS_NOT_FOUND(43010403,"任务发布状态不存在"),
    TASK_NOT_LOCK_PUBLISH_FORBID(43010404,"考生编排未锁定，不允许发布"),

    //1.5
    TASK_COPY_EXCEPTION(43010501,"复制任务异常"),
    NOT_ALLOWED_TO_COPY_ONLINE_EXAM(43010502,"不允许复制线上机考模式的考试任务"),

    //1.6
    GET_TEST_CLASSIFY_ERROR(43010601,"获取考试分类异常"),


    //========================= 2.考试协议接口 =========================
    //2.1
    AGREEMENT_HAS_EXIST(43020101,"考试协议已经存在，不允许新增"),
    ERROR_ADD_AGREEMENT(43020102,"新增考试协议异常"),
    AGREEMENT_EDIT_EXIST_AGREEMENT_NULL(43020103,"考生须知或考试协议为空。"),

    //2.2
    ERROR_GET_AGREEMENT(43020201,"查询所有考试协议异常"),

    //2.3
    AGREEMENT_PACKAGE_EXIST(43020301,"基础包已生成，不能修改"),
    ERROR_DELETE_AGREEMENT (43020302,"删除考试协议异常"),
    AGREEMENT_TASK_ID_EMPTY(43020303,"考试协议任务id不能为空"),

    //2.4
    ERROR_UPDATE_AGREEMENT(43020401,"编辑考试协议异常"),

    //2.5
    AGREEMENT_IMPORT_FILE_NOT_ZIP(43020501,"导入考试协议包文件类型错误"),
    AGREEMENT_IMPORT_FILE_CONTENT_WRONG(43020502,"上传的考试协议包文件内容不匹配"),
    ERROR_UPLOAD_AGREEMENT_FILE(43020503,"上传考试协议包异常"),
    AGREEMENT_IMPORT_FILE_MAX_SIZE(43020504,"上传的考试协议包文件大小限制"),

    //2.6
    ERROR_UPLOAD_AGREEMENT_PICTURE(43020601,"上传考生须知图片异常"),
    UPLOAD_AGREEMENT_IMAGE_FORMAT_WRONG(43020602,"图片格式不支持"),
    UPLOAD_AGREEMENT_IMAGE_SIZE_LIMIT(43020603,"图片超过限制大小"),
    ERROR_UPLOAD_AGREEMENT_IMAGE(43020604,"上传失败"),

    //2.7
    ERROR_SAVE_EXAM_NOTICE_HELLO(43020701,"保存考生须知和欢迎语异常"),
    AGREEMENT_IMPORT_TEXT_CONTENT_WRONG(43020702,"文本编辑输入不能为空"),
    AGREEMENT_PUSH_KS_RESULT_NONE(43020703,"考试协议，推送到考试系统返回空。"),
    ERROR_UPLOAD_AGREEMENT_OBS(43020704,"上传考试协议到云存储异常"),

    //2.8
    ERROR_GET_NOTICE_HELLO(43020801,"查询考生须知和欢迎语异常"),
    ERROR_GET_AGREEMENT_FROM_OBS(43020802,"获取云存储上的考试协议异常"),

    //========================= 3.违纪接口 =========================

    //3.1
    ERROR_GET_DOWNLOAD_TEMPLATE_URL(43030101,"获取下载违纪信息基础模板路径异常"),

    //3.2
    ERROR_BREAK_RULE_IMPORT(43030201,"违纪信息导入异常"),
    TASK_ID_ISNULL_OR_EXIST(43030202,"考试任务id不存在或者不为空"),
    BEHAVIOR_IMPORT_FILE_NON_EXIST(43030203,"导入文件不存在"),
    IMPORT_BREAK_RULE_FILE_WRONG(43030204,"导入违纪信息文件类型错误"),
    BREAK_RULE_EXCEL_NUMBER_FAIL(43030205,"表格工作簿数量不正确"),
    BREAK_RULE_IMPORT_SCHEME_EMPTY(43030206,"纪处理方法工作簿为空"),
    IMPORT_SCHEME_HEAD_WRONG(43030207,"违纪处理方法工作簿表头结构错误"),
    IMPORT_BEHAVIOR_MAX_SIZE(43030208,"违纪处理方法数据超过最大行数"),
    IMPORT_BEHAVIOR_MIN_SIZE_INVALID(43030209,"违纪处理方法数据小于最小行数"),
    IMPORT_BEHAVIOR_COLUMN_WRONG(43030210,"违纪处理方法工作簿列数错误"),
    IMPORT_BEHAVIOR_IS_EMPTY(43030211,"校验违纪行为工作簿为空"),
    IMPORT_BEHAVIOR_HEAD_WRONG(43030212,"验违纪行为工作簿表头结构错误"),
    IMPORT_BEHAVIOR_MAX_ROW_SIZE(43030213,"违纪行为数据超过最大行数"),
    IMPORT_BEHAVIOR_COLUMN_WRONG_SHEET(43030214,"违纪行为工作簿列数错误"),
    IMPORT_BEHAVIOR_MIN_ROW_SIZE_INVALID(43030215,"违纪行为数据小于最小行数"),
    BEHAVIOR_SCHEME_CODE_FORMAT_INVALID(43030216,"违纪处理方法代码只能是1~3位的数字"),
    SCHEME_CODE_EMPTY_SHEET(43030217,"违纪行为工作簿中存在空的违纪处理代码"),
    IMPORT_BEHAVIOR_STOP_AGE_PARAM_INVALID(43030218,"违纪处理方法工作簿中存在不合法的停考年限，停考年限只能是非负整数字"),
    IMPORT_BEHAVIOR_REPEAT_SCHEME(43030219,"违纪处理方法工作簿中存在重复的违纪处理代码"),
    BEHAVIOR_CODE_FORMAT_INVALID(43030220,"违纪行为工作簿中存在不合法的违纪行为代码，违纪行为代码只能是1~3位的数字"),
    BEHAVIOR_EXIST_DESC_EMPTY(43030221,"违纪行为工作簿中存在空的违纪行为描述"),
    BEHAVIOR_SCHEME_ABOUT_MATCH_NULL_CODE(43030222,"违纪行为工作簿中有违纪处理方法，却无对应的违纪处理代码"),
    REPEAT_BEHAVIOR_CODE_REPEAT_ERROR(43030223,"违纪行为工作簿中存在重复的违纪处理代码"),
    IMPORT_SAME_SCHEME_CODE_EXIST(43030224,"导入的Excel中存在已有的违纪处理代码"),
    IMPORT_SAME_BEHAVIOR_CODE_EXIST(43030225,"导入的Excel中存在已有的违纪行为代码"),

    //3.3
    BEHAVIOR_QUERY_EXCEPTION_BY_ID(43030301,"通过考试任务id查询所有违纪信息异常"),

    //3.4
    BEHAVIOR_DELETE_SCHEME_ERROR(43030401,"删除违纪处理方法异常"),
    BEHAVIOR_TASK_OR_ID_IS_EMPTY(43030402,"考试任务id或id不能为空"),

    //3.5
    BEHAVIOR_DELETE_ERROR(43030501,"删除违纪行为异常"),
    BEHAVIOR_ID_IS_EMPTY(43030502,"id不能为空"),

    //3.6
    ERROR_QUERY_SCHEME_LIST(43030601,"查询违纪处理方法下拉列表异常"),
    BEHAVIOR_TASK_ID_IS_EMPTY(43030602,"考试任务id不能为空"),

    //3.7
    BEHAVIOR_ERROR_ADD_SCHEME_EXCEPTION(43030701,"新增违纪处理方法异常"),

    //3.8
    BEHAVIOR_UPDATE_SCHEME_EXCEPTION(43030801,"修改违纪处理方法异常"),
    BEHAVIOR_SAME_SCHEME_CODE_EXIST(43030802,"当前考试任务下存在相同的违纪处理代码"),
    BEHAVIOR_SCHEME_STOP_YEAR_NUMBER_INVALID(43030803,"停考年限只能是非负整数字"),

    //3.9
    BEHAVIOR_ADD_EXCEPTION(43030901,"新增违纪行为异常"),

    //3.10
    BEHAVIOR_UPDATE_EXCEPTION(43031001,"修改违纪行为异常"),
    BEHAVIOR_SCHEME_CODE_EXIST_IN_TASK_ID(43031002,"当前考试任务下存在相同的违纪行为代码"),
    BEHAVIOR_SCHEME_NON_EXIST(43031003,"违纪处理方法不存在"),

    //3.11
    ERROR_QUERY_SCHEME(43031101,"查询违纪处理方法信息异常"),

    //========================= 4.科目接口 =========================

    //4.1
    SUBJECT_QUERY_BY_TASK_ID_EXCEPTION(43040101,"根据考试任务id查询科目异常"),

    //4.2
    SUBJECT_ADD_EXCEPTION(43040201,"添加科目异常"),
    SUBJECT_CODE_EXIST(43040202,"科目编号已存在"),
    SUBJECT_NAME_EXIST(43040203,"科目名称重复"),
    SUBJECT_SECOND_FORMAT_INVALID(43040204,"科目时长必须为正整数"),
    SUBJECT_CODE_FORMAT_INVALID(43040212,"科目编号输入必须为正整数"),
    TASK_START_COMMIT_PAPER_SECOND_FORMAT_INVALID(43040205,"开考后允许交卷时间必须为非负整数"),
    TASK_START_ALLOW_COMMIT_SECOND_INVALID(43040206,"开考后允许交卷时间必须小于或等于科目时长"),
    TASK_END_ALLOW_PAPER_COMMIT_SECOND_INVALID(43040207,"结束前提醒交卷时间必须小于或等于科目时长"),
    SUBJECT_ADD_NONE_BM(43040208,"已绑定报名，请在报名系统添加科目。"),
    SUBJECT_LENGTH_CAN_NOT_BE_EMPTY(43040209, "考试时长不能为空"),
    SUBJECT_HAND_IN_TIME_CAN_NOT_BE_EMPTY(43040210, "开考后允许交卷分钟数不能为空"),
    SUBJECT_REMIND_TIME_CAN_NOT_BE_EMPTY(43040211, "结束前提醒交卷分钟数不能为空"),


    //4.3
    SUBJECT_UPDATE_EXCEPTION(43040301,"修改科目异常"),
    SUBJECT_ID_IS_NULL(43040302,"科目id不能为空"),
    SUBJECT_IS_BIND_FORBID_CHANGE(43040303,"科目已绑定批次，不允许变更"),

    //4.4
    SUBJECT_QUERY_BY_ID_EXCEPTION(43040401,"根据id获取科目异常"),
    SUBJECT_EXIST(43040402,"科目不存在"),
    ERROR_FIND_CANDIDATE_NON_EXISTENT(43040403,"查询考生不存在"),

    //4.5
    SUBJECT_PAGE_QUERY_BY_ID_EXCEPTION(43040501,"根据考试任务id查询科目分页数据异常"),
    SUBJECT_TASK_ID_IS_NULL(43040502,"考试任务id不能为空"),

    //4.6
    SUBJECT_REMOVE_EXCEPTION(43040601,"根据科目id删除科目异常"),

    TIMES_SUBJECT_QUERY_PARAM(43040702,"查询批次科目参数缺失"),
    TIMES__SUBJECT_QUERY_EXCEPTION(43070701,"查询批次科目异常"),
    TIMES__SUBJECT_BINGDING_EXCEPTION(43070805,"批次绑定科目参数异常"),
    TIMES_SUBJECT_BINDING_PARAM(43040802,"批次绑定科目参数缺失"),

    TASK_SUBJECT_BINDING_PARAM(43040902,"选择机构科目信息参数缺失"),
    TASK_SUBJECT_BINGDING_EXCEPTION(43040901,"考试任务导入机构内部科目信息失败"),
    TASK_SUBJECT_QUERY_ERROR(43040903,"查询考试任务失败"),

    SUBJECT_IMPORT_ERROR(43041101,"科目导入异常"),
    SUBJECT_IMPORT_FROM_PT(43041102,"从平台查询机构科目信息失败"),


    //4.6 根据科目id删除科目
    REGISTERED_CANDIDATES_UNDER_THE_SUBJECT(43040602, "科目下存在已报名考生"),
    REGISTERED_SUBJECT_TEMPLATE_EXAM_TYPE(43040602, "科目下存在已报名考生"),

    //========================= 5.考生接口 =========================
    //5.1
    ERROR_CANDIDATE_UPLOAD_PHOTO_EXCEPTION(43050101,"上传考生照片异常"),
    UPLOAD_PHOTO_TYPE_INVALID(43050102,"照片类型不存在"),

    //5.2
    ERROR_ADD_CANDIDATE_EXCEPTION(43050201,"添加考生异常"),
    ERROR_ID_NUMBER_BIRTHDAY_NOT(43050202,"出生日期和身份证不符，请输入正确信息。"),
    ERROR_UPDATE_CANDIDATE_ID_NUMBER_EXISTENT (43050203,"考生身份证号码已存在"),
    ERROR_ADD_CANDIDATE_INSERT_PHOTO_FAIL(43050204,"插入考生照片失败"),
    ERROR_ADD_CANDIDATE_INSERT_FAIL(43050205,"插入考生表失败"),
    ERROR_ADD_CANDIDATE_INSERT_SUBJECT_FAIL(43050206,"插入考生科目中间表失败"),


    //5.3
    ERROR_PAGE_FIND_CANDIDATE_EXCEPTION(43050301,"获取考生数据异常"),
    ERROR_PAGE_FIND_CANDIDATE_TASK_ID_IS_NULL(43050302,"考试任务id为空"),

    //5.4
    ERROR_FIND_CANDIDATE_EXCEPTION(43050401,"查询考生异常"),
    ERROR_CANDIDATE_ID_CANNOT_BE_EMPTY(43050402,"考生id不能为空"),

    //5.5

    //5.2 添加考生
    ADD_CANDIDATE_INVALID_EMAIL(43050207, "邮箱格式不合法"),
    ADD_CANDIDATE_INVALID_PHONE(43050208, "手机号格式不合法"),
    ADD_CANDIDATE_INVALID_BIRTHDAY(43050209, "出生日期格式不合法"),
    ADD_CANDIDATE_DEPTID_ERROR(43050210, "查询考生所属机构信息失败"),
    ADD_CANDIDATE_NOT_THREE_AREA(43050211, "当区域选择后，省市县则必须3级都有"),

    IMPORT_CANDIDATE_PHOTO_ZIP_REDIS_OPS(43050501,"照片正在导入中，请勿重复操作！"),
    ERROR_BATCH_IMPORT_CANDIDATE_PHOTO_EXCEPTION(43050502,"批量导入考生照片异常"),

    //5.6
    ERROR_UPDATE_CANDIDATE_EXCEPTION(43050601,"修改考生异常"),
    UPLOAD_PHOTO_PARAM_NAME_INVALID(43050602,"图片名称不能为空"),
    ERROR_UPDATE_CANDIDATE_PHOTO_FAIL(43050603,"更新考生照片失败"),
    ERROR_UPDATE_CANDIDATE_NON_EXISTENT(43050604,"更新的考生不存在"),
    ERROR_UPDATE_CANDIDATE_FAIL(43050605,"更新考生失败"),
    ERROR_UPDATE_DELETE_CANDIDATE_SUBJECT_FAIL(43050606,"删除考生科目失败"),
    ERROR_UPDATE_CANDIDATE_INSERT_SUBJECT_FAIL(43050607,"插入考生科目失败"),
    ERROR_BATCH_IMPORT_CANDIDATE_PHOTO_TYPE_NON_EXISTENT(43050608,"照片类型不存在"),
    ERROR_BATCH_IMPORT_CANDIDATE_PHOTO_FAIL(43050609,"插入考生照片失败"),
    CANDIDATE_AREA_NO_DISTRICT(43050610,"存在考生无区域信息，请完善数据后再编排。"),

    //5.7
    ERROR_GET_CANDIDATE_SEX_TYPE_EXCEPTION(43050701,"获取考生性别类型异常"),

    //5.8
    ERROR_GET_CANDIDATE_ID_TYPE_EXCEPTION(43050801,"获取考生证件类型异常"),

    //5.9
    ERROR_GET_AREA_PROVINCE_EXCEPTION(43050901,"获取考生区域（省）信息异常"),

    //5.10
    ERROR_GET_AREA_CITY_EXCEPTION(43051001,"获取考生区域（市）信息异常"),

    //5.11
    ERROR_GET_AREA_DISTRICT_EXCEPTION(43051101,"获取考生区域（县区）信息异常"),

    //5.6 修改考生
    UPDATE_CANDIDATE_DATA_LOCK(43050611, "编排数据已锁定，仅更新手机号、邮箱"),
    //5.12
    ERROR_FAILED_TO_DELETE_CANDIDATE(43051201,"删除考生失败"),
    CANDIDATE_EXISTENT_ARRANGE(43051202,"删除失败，当前删除数据中包含已编排的考生。"),

    //5.13
    ERROR_EXPORT_CANDIDATE_TEMPLATE_GENERATE_FAIL(43051301,"生成导入考生模板失败"),
    ERROR_EXPORT_CANDIDATE(43051303,"导出考生信息失败"),
    ERROR_PT_AREA(43051302,"查询平台区域信息失败"),

    //5.14
    ERROR_BATCH_IMPORT_READ_FILE_FAIL(43051401,"读取.xlsx文件失败"),
    ERROR_BATCH_IMPORT_FROM_PT(43051801,"从平台导入机构考生失败"),
    QUERY_TASK_CANDIDATE_ERROR(43051901,"查询考试任务选择的考生失败"),
    ERROR_EXPORT_CANDIDATE_TEMPLATE_TASK_ID_NULL(43051402,"考试任务id为空"),
    GET_CANDIATE_FROM_PT_ERROR(43051503,"从平台查询考生失败"),
    ERROR_BATCH_IMPORT_FILE_IS_NULL(43051403,"文件不能为空"),
    ERROR_BATCH_IMPORT_INVALID_XLSX(43051404,"不是有效地 .xlsx文件"),
    ERROR_BATCH_IMPORT_VOLUME_ERROR(43051405,"上传文件过大。"),
    CANDIDATE_NONE_BM(43051406,"已绑定报名系统，请在报名系统执行此操作。"),
    ERROR_BATCH_IMPORT_INVALID_SEX(43051407,"导入考生数据中存在与性别约束不符合项"),
    ERROR_BATCH_IMPORT_INVALID_ID_TYPE(43051408,"导入考生数据中存在与证件类型约束不符合项"),
    ERROR_BATCH_IMPORT_INVALID_ANSWER_TYPE(43051409,"导入考生数据中存在与作答类型约束不符合项"),
    ERROR_BATCH_IMPORT_INVALID_LANGUAGE(43051410,"导入考生数据中存在存在与语种类型约束不符合项"),
    ERROR_BATCH_IMPORT_INCOMPLETE_ROW_DATA(43051411,"从.xlsx中读取到了不完整数据"),
    ERROR_BATCH_IMPORT_BIRTHDAY_INVALID(43051412,"导入考生数据中存在生日日期格式不正确"),
    IMPORT_CANDIDATE_AREA_UNMATCHED(43051414,"导入的考生数据中存在与区域信息约束不符合项"),
    ERROR_BATCH_IMPORT_FAIL(43051417,"批量导入失败"),

    //5.15
    FAIL_TO_GET_BUCKET_INFO(43051501,"获取云存储Bucket信息失败"),
    TASK_NOT_FOUND(43051502,"考试任务不存在"),

    //5.16
    PUSH_SIMPLE_CANDIDATE_ERROR(43051601,"推送单个考生编排数据异常"),
    PUSH_SIMPLE_CANDIDATE_SUPPORT_TYPE(43051602,"推送单个考生编排数据不支持类型"),

    //5.12 删除考生数据
    DELETE_CANDIDATE_EXCEPTION(43051201, "删除考生异常"),
    HAS_CANDIDATE_ARRANGED(43051202, "删除失败，当前删除数据中包含已编排的考生"),

    //5.14 考生批量导入
    DATA_VALIDATION_ERROR(43051418, "数据验证错误"),
    IMPORT_PTCANDIDATE_TASK(43051421, "任务id不能为空"),

    //========================= 6.编排管理接口 =========================
    //6.1
    ARRANGE_DATA_EXCEPTION(43060101,"编排考生数据异常"),
    ARRANGE_CANDIDATE_NOT_FOUND(43060102,"没有找到需要编排的考生"),
    ARRANGE_CANDIDATE_NOT_ROOM(43060103,"没有找到可以编排的考点考场"),
    ARRANGE_CANDIDATE_NOT_TIME_ROOM(43060104,"没有找到批次科目数据"),
    TASK_EXAM_TYPE_NOT_FOUND(43060105,"任务考试类型不存在"),
    ARRANGE_MODE_NOT_FOUND(43060106,"编排模式不存在"),
    FAILED_TO_SAVE_TIME_ROOM(43060107,"场次数据保存失败"),
    FAILED_TO_SAVE_ARRANGED_DATA(43060108,"编排结果数据保存失败"),
    ARRANGE_NO_CANDIDATE_ERROR(43060109,"没有找到未编排的考生，不执行编排操作"),
    ARRANGE_NO_TIME_ROOM_ERROR(43060110,"没有找到未编排的批次，不执行编排操作"),
    ROOM_MAX_CANDIDATE_COUNT_MUST_BE_INTEGER(43060111,"考场最大考生人数必须为整数"),
    ROOM_MAX_CANDIDATE_COUNT_MUST_BE_GREATER_THAN_ZERO(43060112,"考场最大考生人数必须大于0。"),
    RANDOM_DIGIT_MUST_BE_GREATER_THAN_ZERO(43060113,"随机序号位数必须大于0"),
    RANDOM_DIGIT_MUST_BE_INTEGER(43060114,"随机序号位数必须为整数。"),
    AUTO_DIGIT_MUST_BE_INTEGER(43060115,"自增序号位数必须为整数。"),
    AUTO_DIGIT_MUST_BE_GREATER_THAN_ZERO(43060116,"自增序号位数必须大于0"),
    MANUAL_MUST_BE_NOT_NULL(43060117,"自定义前缀不能为空"),
    ADMISSION_DIGIT_MUST_BE_INTEGER(43060118,"准考证位数必须为整数。"),
    ADMISSION_DIGIT_MUST_BE_GREATER_THAN_ZERO(43060119,"准考证位数必须大于0"),
    ADMISSION_RANDOM_PARAM_MUST_BE_NOT_NULL(43060120,"准考证生成方式不能为空"),
    TIME_ROOM_CANDIDATE_PUSH_KS_RESULT_NONE(43060121,"编排数据，推送到考试系统返回空。"),
    TIME_ROOM_BIND_PHYSICAL_EXCEPTION(43060122,"考场已绑定批次，请解绑后再来操作。"),
    ARRANGE_CANDIDATE_ADMISSION_NUMBER_NOT_FOUND(43060123, "当前考试任务存在暂无自定义准考证号的考生，请录入自定义准考证号，或使用其他准考证号生成方式"),
    CUSTOM_ARRANGE_NOT_FOUND(43060124, "当前考试任务暂无自定义考场数据，请完善自定义考场数据，或使用其他编排规则"),

    //6.2
    ARRANGE_CANDIDATE_INCREMENT_EXCEPTION(43060201,"考生增量编排异常"),

    //6.3
    ARRANGE_GET_PARAM_EXCEPTION(43060301,"获取编排参数异常"),
    ARRANGE_SUBJECT_NOT_FOUND(43060302,"暂无科目数据"),

    //6.4
    ARRANGE_PREVIEW_ACCOUNT_EXCEPTION(43060401,"预览准考证号异常"),

    //6.5
    ARRANGE_INIT_PARAM_EXCEPTION(43060501,"初始化编排参数异常"),

    //6.6
    ARRANGE_RESULT_QUERY_EXCEPTION(43060601,"查询编排结果异常"),

    //6.7
    ARRANGE_REMOVE_EXCEPTION(43060701,"删除编排结果异常"),

    //6.8
    ARRANGE_UN_CANDIDATE_QUERY_EXCEPTION(43060801,"查询未编排的考生异常"),

    //6.9
    ARRANGE_EXPORT_DATA_EXCEPTION(43060901,"导出考生编排数据异常"),
    ARRANGE_EXPORT_PARAM_TASK_ID_CAN_NOT_NULL(43060902,"任务id不能为空"),

    //6.4 预览准考证
    ADMISSION_NUMBER_NOT_FOUND(43060402, "暂无可预览的准考证号"),

    //6.10
    TASK_DATA_LOCK_EXCEPTION(43061001,"数据锁定状态异常"),
    NO_CANDIDATES_HAVE_BEEN_ARRANGED(43061002,"暂无已编排的考生，无法锁定"),
    NOT_GENERATED_BASE_DATA(43061003,"暂未生成基础包，无法锁定"),
    PUSH_TIME_ROOM_CANDIDATE_ERROR(63011106, "政企考务推送考生异常"),
    DELETE_TIME_ROOM_CANDIDATE_ERROR(63011107, "政企考务删除考生失败，请检查批次是否发布、是否已导入试卷或者已有考生登录/开考"),

    //6.11
    ARRANGE_STATISTICS_EXCEPTION(43061101,"编排统计异常"),

    //6.14
    UPDATE_TASK_DATA_LOCK_ERROR(43061401,"不允许复制线上机考模式的考试任务"),

    //6.15 推送已编排考生微信通知
    PUSH_WECHAT_ARRANGED_NOTIFICATION_EXCEPTION(43061501, "推送已编排考生微信通知异常"),
    PUSH_ARRANGED_WECHAT_NOTIFICATION_BATCH_EXCEPTION(43061502, "推送已编排考生微信通知至报名系统异常"),

    //6.16 修改编排结果
    ARRANGED_EDIT_EXCEPTION(43061601, "修改编排结果异常"),
    ARRANGED_EDIT_DATA_NOT_FOUND(43061602, "待修改编排结果为空"),
    TIME_DATA_NOT_FOUND_FOR_THE_DESTINATION_ROOM(43061603, "编排结果将要修改到的目标考场暂无场次数据"),
    TIME_NOT_MATCH_FOR_THE_DESTINATION_ROOM(43061604, "编排结果将要修改到的目标考场暂无对应批次"),
    ARRANGED_EDIT_DATA_MUST_BE_THE_SAME_TIME(43061605, "选中的编排数据必须为同一批次下的编排数据"),
    DUPLICATED_ARRANGED_DATA_IN_TIME_ROOM_AFTER_EDIT(43061606, "修改编排结果后，存在重复考生的编排数据"),

    //6.17 获取批次下绑定的考场信息
    GET_ROOM_BY_TASK_TIME_ID_EXCEPTION(43061701, "获取批次下绑定的考场信息异常"),

    //6.18 获取科目下绑定的批次信息
    GET_TIME_BY_TASK_SUBJECT_ID_EXCEPTION(43061801, "获取科目下绑定的批次信息异常"),

    //6.19 手动编排
    MANUAL_ARRANGE_EXCEPTION(43061901, "手动编排异常"),
    MANUAL_ARRANGE_CANDIDATE_NOT_FOUNT(43061902, "将要编排的考生不存在"),
    MANUAL_ARRANGE_SUBJECT_NOT_FOUNT(43061903, "将要编排的科目不存在"),
    MANUAL_ARRANGE_TIME_NOT_FOUNT(43061904, "将要编排的批次不存在"),
    MANUAL_ARRANGE_ROOM_NOT_FOUNT(43061905, "将要编排的考场不存在"),
    MANUAL_ARRANGE_CANDIDATE_SUBJECT_MAP_ERROR(43061906, "将要编排的考生与科目关系不正确"),
    MANUAL_ARRANGE_TIME_ROOM_MAP_ERROR(43061907, "将要编排的考场与批次关系不正确"),
    MANUAL_ARRANGE_CANDIDATE_ARRANGED(43061908, "将要编排的考生已被编排至指定考场、批次、科目中"),
    MANUAL_ARRANGE_TIME_SUBJECT_MAP_ERROR(43061909, "将要编排的批次与科目关系不正确"),
    MANUAL_ARRANGE_ADMISSION_NUMBER_NOT_FOUND(43061910, "当前考生暂无准考证号，请录入考生准考证号，或使用其他准考证号生成方式"),

    //6.20 修改考场状态
    UPDATE_TIME_ROOM_CANDIDATE_PARAM_ROOM_TYPE(43062001,"修改考场类型异常"),

    //6.99 修改考场状态
    UPDATE_TIME_ROOM_CANDIDATE_PARAM_ROOM(43069901,"增量添加/修改考生编排数据(无限权限)异常"),


    //========================= 7.批次接口 =========================
    //7.1 添加或编辑批次
    TIME_NOT_FOUND(43070112, "批次不存在"),
    TIME_ARRANGED(43070113, "当前批次已存在编排数据，仅修改除考试科目以外的信息"),


    //7.1
    TIMES_ADD_EXCEPTION(43070101,"添加批次异常"),
    TIMES_ADD_ING(43070102,"正在处理中，请稍后再试。"),
    TIMES_NAME_EXIST(43070103,"当前考试任务下存在名称相同的考试批次"),
    TIME_START_TIME_MUST_NOT_BE_EQUALS_END_TIME(43070104,"批次开始时间不能等于批次结束时间。"),
    TIME_START_TIME_MUST_BE_BEFORE_END_TIME(43070105,"批次开始时间不能晚于批次结束时间。"),
    TIMES_ONLINE_ONE_SUBJECT(43070106,"线上模式，一个批次只能有一个科目！"),
    TIMES_ONLINE_TIME_SUBJECT_EXIST(43070107,"科目已经与批次绑定，不允许重复绑定！"),
    TIMES_ONLINE_TIME_DAY_EARLYLOGON(43070108,"任务下存在跨天的批次，不能开启【提前登录】；"),
    TIMES_ONLINE_TIME_DAY_UNIFIEDSTARTEND(43070109,"任务下存在跨天的批次，不能开启【统一开考,统一结束】；"),
    TIMES_IS_ARRANGE_CAN_NOT_REMOVE(43070110,"该批次科目已编排，不允许变更"),
    TIMES_ONLINE_TIME_DAY_DELAYLOGON(43070111,"任务下存在跨天的批次，不能开启【限制迟到】；"),

    //7.2
    TIMES_DATA_QUERY_EXCEPTION(43070201,"获取批次异常"),

    //7.3
    TIMES_GET_SUBJECT_EXCEPTION(43070301,"获取批次科目异常"),

    //7.4
    TIMES_PLACE_QUERY_EXCEPTION(43070401,"获取批次考点异常"),

    //7.5
    TIMES_QUERY_ROOM_EXCEPTION(43070501,"获取考场数据异常"),

    //7.6
    TIMES_BIND_ROOM_EXCEPTION(43070601,"批次绑定考场异常"),
    TIMES_UN_ROOM_EXCEPTION(43071401,"批次排除编排考场异常"),
    TIMES_ONLINE_TIME_ROOM_NOT_EDIT(43070602,"非实体考场模式，不允许编辑批次考场数据。"),
    TIMES_ONLINE_TIME_ROOM_NOT_DELETE(43070603,"非实体考场模式，不允许删除批次考场数据。"),

    //7.7
    TIMES_QUERY_EXCEPTION(43070701,"查询批次考场异常"),
    TIMES_QUERY_PARAM(43070702,"查询批次考场参数缺失"),

    //7。8
    TIMES_REMOVE_EXCEPTION(43070801,"删除批次异常"),
    TIMES_CAN_NOT_REMOVE(43070802,"该批次已编排，不允许删除"),
    TIMES_IS_BIND_PAPER_CAN_NOT_REMOVE(43070803,"该批次已经绑定试卷，不允许删除"),
    TIMES_IS_BIND_ROOM_CAN_NOT_REMOVE(43070804,"该批次已经绑定考场，不允许删除"),

    //7.9
    TIMES_ROOM_QUERY_EXCEPTION(43070901,"获取批次考点考场异常"),

    //7.10
    TIMES_QUERY_TIMEROOM_EXCEPTION(43071001,"根据批次id查询考场信息异常"),

    //7.11
    TIMES_PUSH_RESULT_NONE(43071101,"推送批次数据到考试系统，接口返回空异常。"),

    //7.14
    TIME_SUBJECT_ERROR(43071301,"查询批次科目信息失败"),

    //========================= 8.考试过程监控接口 =========================
    //========================= 9.试卷接口 =========================
    //9.1
    ERROR_TASK_QUERY_PAGE(43090101,"查询考试任务分页数据异常"),

    //9.2
    ERROR_PAPER_IMPORT(43090201,"导入试卷失败"),
    ERROR_PAPER_TIME_SUBJECT_PAPER_ID_IS_NULL(43090202,"批次科目id不能为空"),
    ERROR_PAPER_TIME_SUBJECT_PAPER_ID_NON_EXISTS(43090203,"批次科目考卷id不存在"),
    ERROR_PAPER_EXISTS(43090204,"批次科目下已有试卷"),
    PAPER_TYPE_DOES_NOT_SUPPORT(43090205,"导入的为暂不支持的试卷类型"),
    ERROR_PAPER_PAPERINFO_IMPORT(43090206,"写入新的paperinfo.xml临时文件中异常"),
    ERROR_GET_PAPER_ZIP(43090207,"获取海云天财政部试卷内层zip包文件异常"),
    ERROR_PAPER_TEST_PAPER(43090208,"写入新的test_paper.xml临时文件中异常"),
    ERROR_PAPER_SUBJECT_MISMATCH(43090209,"导入试卷的科目编号与当前科目不一致"),
    ERROR_PAPER_SAVE_FAIL(43090210,"试卷保存失败"),
    ERROR_PAPER_IMPORT_UPDATE_TEST_PAPER(43090211,"导入试卷，修改test_paper.xml出错"),
    ERROR_PAPER_CONTENT_INVALID(43090212,"试卷包内容异常"),
    ERROR_TIME_SUBJECT_PAPER_SAVE_FAIL(43090213,"保存批次科目试卷失败"),
    ARRANGE_DECO_FILE_PWD_ERROR(43090214,"解压试卷包文件密码错误"),

    //9.3
    ERROR_PAPER_AUTH_IMPORT(43090301,"导入授权码失败"),
    ERROR_PAPER_ID_IS_NULL(43090302,"试卷id不能为空"),
    ERROR_PAPER_NON_EXISTENT_OR_PAPER_NOT_IMPORT(43090303,"试卷编号不存在或该编号的试卷还未导入"),
    ERROR_PAPER_AUTH_PACKAGE_EXISTENT(43090304,"该试卷的授权码包不能重复导入"),
    PAPER_AUTH_CODE_TYPE_DOES_NOT_SUPPORT(43090305,"导入的授权码为暂不支持的类型"),
    ERROR_PAPER_AUTH_PACKAGE_CONTENT_INVALID(43090306,"读取授权码包内容异常"),
    ERROR_AUTH_CODE_NOT_MATCH_PAPER_EXISTENT(43090307,"导入的授权码包与试卷不匹配"),
    PAPER_AUTH_CODE_NOT_FOUND(43090308,"导入的授权码包中没有授权码"),
    ERROR_PAPER_AUTH_SAVE_FAIL(43090309,"授权码更新失败"),

    //9.4
    ERROR_PAPER_UPDATE_STATUS(43090401,"更新试卷启用状态异常"),
    PAPER_EXISTENT_CANNOT_DISABLED(43090402,"未上传考卷数据，不允许执行该操作"),
    ERROR_MOCK_PAPER_ID_NON_EXISTENT(43090403,"考卷id不存在"),
    ERROR_MOCK_PAPER_TASK_ID_NON_EXISTENT(43090404,"任务id不存在"),

    //9.5
    ERROR_TASK_DELETE_PAPER(43090501,"删除试卷异常"),

    //9.6
    ERROR_MOCK_PAPER_GET_EXCEPTION(43090601,"获取试卷包失败"),

    //9.7
    ERROR_MOCK_PAPER_REMOVE_EXCEPTION(43090701,"删除模拟考试失败"),
    ERROR_MOCK_PAPER_REMOVE_FAIL(43090702,"模拟考卷删除失败"),
    ERROR_MOCK_PAPER_TASK_ID_IS_NULL(43090703,"任务id不能为空"),
    ERROR_MOCK_PAPER_SUBJECT_CODE_NON_EXISTENT(43090704,"科目编号不存在"),

    //9.8
    ERROR_MOCK_PAPER_IMPORT(43090801,"导入模拟试卷失败"),
    ERROR_MOCK_PAPER_IN_TASK_EXISTENT(43090802,"该任务下已存在模拟考卷"),
    ERROR_MOCK_PAPER_CODE_NONE(43090803,"导入的模拟试卷编号不存在"),
    ERROR_MOCK_PAPER_CONTENT_NONE(43090804,"导入的模拟试卷中试卷名称不存在"),

    //========================= 10.考场注册接口 =========================
    //10.1

    //10.2

    //10.3

    //10.4

    //10.5

    //10.6
    PLACE_ROOM_CLEAR_REGISTER_DATA_EXCEPTION(43100601,"清除考场注册信息异常"),

    //10.7
    PLACE_ROOM_EXPORT_REGISTER_DATA_EXCEPTION(43100701,"导出考场注册信息异常"),


    //========================= 11.场次密码 =========================
    //11.1
    TIMES_PWD_QUERY_EXCEPTION(43110101,"查询场次密码异常"),


    //========================= 12.考区管理接口 =========================
    //12.1
    EXAM_AREA_QUERY_EXCEPTION(43120101,"查询考区异常"),

    //12.2
    EXAM_AREA_QUERY_PLACE_EXCEPTION(43120201,"查询考点所属区域异常"),

    //12.3
    EXAM_AREA_QUERY_CANDIDATE_FOR_AREA_EXCEPTION(43120301,"查询考生所属区域异常"),

    //12.4
    EXAM_AREA_REMOVE_EXCEPTION(43120401,"删除考区异常"),

    //12.5
    EXAM_AREA_ADD_UPDATE_EXCEPTION(43120501,"添加和修改考区异常"),
    EXAM_AREA_REQUEST_PARAM_NAME_AREA_CAN_NOT_NULL(43120502,"请求参数考区名称，考点区域，考生区域不能为空"),
    EXAM_AREA_ADD_UPDATE_REPECT(43120503,"同一任务下考点所属区域不能设置重复值!"),


    //========================= 13.考试系统接口 =========================

    //13.1
    EXAMINATION_EXAM_SYSTEM_BUSINESS_EXCEPTION(43130101,"考务系统与考试系统业务异常（适用于返回XML或JSON等字符串的返回结果）"),

    //13.2

    //13.3

    //13.4

    //13.5


    //========================= 14.准考证接口 =========================

    //14.1
    TICKET_CANDIDATE_PAGE_QUERY_EXCEPTION(43140101,"获取考生分页数据异常"),
    TICKET_CANDIDATE_READ_IMG_ERROR(43140102,"读取图片异常"),
    TICKET_CURRENT_NOT_FOUND(43140103,"未查询到准考证信息"),
    TASK_DATA_UN_LOCKED(43140104,"任务未锁定，不允许生成准考证"),
    TICKET_CANDIDATE_TEMPLATE_GET_ERROR(43140105,"获取准考证模板出错"),
    TICKET_CANDIDATE_NOT_FOUND(43140106,"未查询到编排考生信息"),

    //14.2
    TICKET_GENERATE_EXCEPTION(43140201,"生成准考证异常"),
    TICKET_TEMPLATE_NONE_CHECKED(43140202, "尚未选择准考证模板，请先选择准考证模板"),

    //14.3
    TICKET_EXPORT_EXCEPTION(43140301,"导出准考证异常"),

    //14.4
    TICKET_SINGLE_QUERY_EXCEPTION(43140401,"查询单个准考证异常"),

    //14.5
    TICKET_QUERY_TEMPLATE_EXCEPTION(43140501,"获取准考证模板异常"),
    TICKET_TEMPLATE_NOT_FOUND(43140502,"准考证生成模板未找到"),
    TICKET_CANDIDATE_DATE_ERROR(43140503,"考试时间不能为空"),

    //14.6
    TICKET_UPDATE_TEMPLATE_EXCEPTION(43140601,"更新准考证模板异常"),

    //14.7
    TICKET_CONTINUE_CREATE_EXCEPTION(43140701,"继续生成准考证异常"),
    UNSUPPORTED_PROGRESS_TYPE(43140702,"进度类型暂不支持"),

    //========================= 15.基础包接口 =========================

    //15.1
    ERROR_GENERATE_BASE_DATA_PACKAGE(43150101,"生成基础包异常"),
    BASE_DATA_PACKAGE_AGREEMENT_NOT_EXIST(43150102,"考试协议包未上传"),
    GENERATE_BASE_DATA_PACKAGE_BREAK_RULE_BEHAVIOR_NOT_ADD(43150103,"违纪行为未添加"),
    GENERATE_BASE_DATA_PACKAGE_BREAK_RULE_SCHEME_NOT_ADD(43150104,"违纪处理办法未添加"),
    GENERATE_BASE_DATA_PACKAGE_TASK_NOT_EXIST(43150105,"考试任务不存在"),
    ERROR_ROOM_DATA_TASK_ID_IS_NULL(43150106,"任务id不能为空"),

    //15.2
    ERROR_GET_BASE_DATA_PACKAGE(43150201,"查询基础包异常"),

    //15.3
    ERROR_DELETE_BASE_DATA_PACKAGE(43150301,"删除基础包异常"),

    //15.4
    ERROR_GET_BASE_DATA_PACKAGE_URL(43150401,"获取基础包下载URL异常"),
    BASE_DATA_PACKAGE_NOT_EXIST(43150402,"未生成基础包"),

    //========================= 16.考务包管理接口 =========================

    //16.1
    ERROR_ROOM_DATA_CREATE(43160101,"生成考务包异常"),
    EXIST_UN_ARRANGE_TIME_ROOM(43160102 ,"存在未编排考生考场，不允许生成考务包"),
    ERROR_DOWNLOAD_CANDIDATE_PHOTO(43160103,"从腾讯云COS下载考生照片数据失败"),
    CREATE_ROOM_DATA_TASK_NOT_EXIST(43160104,"考试ID不存在"),
    CREATE_ROOM_DATA_NOT_LOCK_ARRANGED_DATA_EXIST(43160105,"未锁定编排数据,不允许生成考务包。"),
    ROOM_DATA_EXIST(43160106,"考务包已存在不允许重新生成，请先取消锁定编排后再生成考务包。"),

    //16.2
    ERROR_ROOM_DATA_SELECT_EXCEPTION(43160201,"查询异常"),

    //16.3
    ERROR_CREATE_DBF(43160301,"生成dbf考务数据包异常"),
    ERROR_CREATE_BMK_DBF(43160302,"生成报名库dbf数据包异常"),
    NOT_EXIST_BMK_DBF(43160303,"无编排数据，无法导出"),
    ERROR_CREATE_PC_DBF(43160304,"生成批次dbf数据包异常"),
    NOT_EXIST_PC_DBF(43160305,"无批次数据，无法导出"),
    NOT_EXIST_SUBJECT_DBF(43160306,"无科目数据，无法导出"),
    ERROR_CREATE_SUBJECT_XML(43160307,"生成科目xml文件异常"),
    //========================= 17.模板数据接口 =========================
    //17.1
    ERROR_ADD_OFFICE_FILE_TEMPLATE(43170101,"新增模板异常"),
    OFFICE_FILE_TEMPLATE_LEVEL_WRONG(43170102,"模板级别只能是1或者2"),
    OFFICE_FILE_TEMPLATE_EXIST(43170103,"模板存在重复的code和type"),

    //17.2
    TASK_INIT_FAIL(43170201,"任务数据初始化失败"),

    //17.3
    ERROR_INIT_SYS_AREA(43170301,"系统区域初始化异常"),

    //17.4
    ERROR_INIT_CANDIDATE_OFFICE_AREA(43170401,"考生所属机构区域初始化异常"),

    //17.5
    ERROR_INIT_PLACE_ROOM_OFFICE_AREA(43170501,"考点考场所属机构区域初始化异常"),

    //17.6
    ERROR_INIT_OFFICE_BREAK_RULE(43170601,"初始化机构违纪数据异常"),

    //17.7
    DELETE_OFFICE_INIT_FAIL(43170701,"一键清除机构模板数据异常"),

    //17.8

    //17.9
    ERROR_INIT_CANDIDATE_TASK_AREA_BM(43170901,"初始化任务考生区域数据(bm)异常"),
    ERROR_INIT_CANDIDATE_TASK_AREA_EXIST(43170902,"当前任务下已存在区域数据，不允许导入。"),

    //17.10
    ERROR_IMPORT_EXAM_NOTICE(43171001,"初始化系统级考生须知模板异常"),

    //========================= 18.考场测试报告接口 =========================

    //18.1
    TEST_REPORT_PAGE_QUERY_ERROR(43180101,"查询考场测试报告分页数据异常"),

    //18.2
    TEST_REPORT_DETAIL_QUERY_ERROR(43180201,"查询考场测试报告详情数据异常"),

    //========================= 19.考场接口 =========================
    //19.1
    ROOM_ADD_EXCEPTION(43190101,"添加考场异常"),
    ROOM_EXIST_IN_PLACE(43190102,"当前考点下存在名称相同的考场"),
    ROOM_CURRENT_NON_EXIST(43190103,"当前考场已不存在"),
    ROOM_NAME_EXIST_IN_PLACE(43190104,"当前考点下存在名称相同的考场"),
    ROOM_ADD_EXIST(43190105,"添加的编排考场中存在与当前任务已添加的考场重复的考场，请勿重复添加"),
    ROOM_ADD_ARRANGE_ROOM_EXIST(43190106,"添加的编排考场中存在重复的考场"),
    ROOM_ADD_REFRESH_PAGE(43190107,"添加的编排考场中存在已被删除的考场，请刷新页面并重新选择后添加"),
    ROOM_ADD_PT_ERROR_PAGE(43190108,"添加考场查询机构考场信息失败！"),
    ROOM_ADD_PT_AREA_PAGE(43190109,"添加考场查询区域信息失败！"),

    //19.2
    ROOM_DETAIL_INFO_QUERY_BY_ID_EXCEPTION(43190201,"根据id查询考场详细信息异常"),
    ROOM_ID_IS_NULL(43190202,"考场id不能为空"),
    ROOM_ONO_EXIST(43190203,"考场已不存在"),

    //19.3
    ROOM_PAGE_QUERY_BY_ID_EXCEPTION(43190301,"根据考点id查询考场信息分页数据异常"),
    ROOM_PLACE_ID_CAN_NOT_NULL(43190302,"考点id不能为空"),

    //19.4
    ROOM_EDIT_EXCEPTION(43190401,"编辑考场异常"),

    //19.5
    ROOM_REMOVE_EXCEPTION(43190501,"删除考场异常"),

    //19.6
    ROOM_PAGE_FILTER_PLACE_ROOM_EXCEPTION(43190601,"筛选编排考点考场分页数据异常"),

    //19.7
    ROOM_ADD_ARRANGE_PLACE_ROOM_EXCEPTION(43190701,"添加编排考点考场异常"),
    ROOM_ADD_ARRANGE_PLACE_ROOM_REPECT(43190703,"请勿重复提交"),
    ROOM_TASK_ID_CAN_NOT_NULL(43190702,"考试任务id不能为空"),

    //19.8
    ROOM_QUERY_TASK_PLACE_ROOM_EXCEPTION(43190801,"查询任务考点考场异常"),
    ROOM_FOR_NON_EXIST(43190802,"所属考点已不存在"),

    //19.9
    ROOM_QUERY_TASK_PLACE_ROOM_STATISTICS_EXCEPTION(43190901,"查询任务考点考场统计异常"),

    //19.10
    ROOM_REMOVE_TASK_PLACE_ROOM_EXCEPTION(43191001,"删除任务考点考场异常"),
    ROOM_REMOVE_MAST_BE_SELECT(43191002,"未选中考场，不能删除"),
    ROOM_BIND_REMOVE_ERROR(43191003,"考场已绑定批次，不能删除"),
    //19.11
    ROOM_QUERY_TASK_ROOM_EXCEPTION(43191101,"查询任务下的考场异常"),
    OFFICE_NOT_FOUND_AREA_ERROR(43191102,"该机构下未查询到区域数据"),

    //19.12
    PLACE_ROOM_IMPORT_FILE_DOWNLOAD_ERROR(43191201,"下载考点考场导入模板异常"),
    PLACE_ROOM_FILE_IMPORT_ERROR(43191202,"Excel数据校验错误"),

    //19.13
    PLACE_ROOM_IMPORT_ERROR(43191301,"考点考场导入异常"),
    IMPORT_PLACE_ROOM_FILE_NOT_EXIST(43191302,"导入文件不存在"),
    PLACE_ROOM_IMPORT_FILE_TYPE_ERROR(43191303,"导入考场信息文件类型错误"),

    //========================= 20.考点接口 =========================

    //20.1
    PLACE_ADD_FAIL(43200101,"添加考点异常"),

    //20.2
    PLACE_QUERY_INFO_ERROR(43200201,"查询考点详细信息出错"),
    PLACE_QUERY_ID_IS_NULL(43200202,"考点id参数不能为空"),
    PLACE_QUERY_NON_EXISTENT(43200203,"考点已不存在"),
    PLACE_ADD_NAME_REPEAT(43200204,"当前机构下存在名称相同的考点"),

    //20.3
    ORGANIZATION_QUERY_ALL_PLACE_EXCEPTION (43200301,"查询考点详细信息异常"),

    //20.4
    PLACE_PAGE_QUERY_EXCEPTION(43200401,"查询考点信息分页数据异常"),

    //20.5
    PLACE_CHECK_ROOM_EXISTENT(43200501,"检查考点下是否已经存在考场异常"),

    //20.6
    PLACE_UPDATE_EXCEPTION(43200601,"修改考点异常"),

    //20.7
    PLACE_REMOVE_EXCEPTION(43200701,"删除考点异常"),

    //20.8
    QUERY_TASK_PLACE_INFO_EXCEPTION(43200801,"查询考点详细信息异常"),


    //========================= 21.机构接口 =========================
    //21.1
    ORGANIZATION_INIT_EXCEPTION(43210101,"初始化机构数据异常"),
    ORGANIZATION_INIT_DATA_EXIST(43210102,"当前机构已经初始化过数据"),
    ORGANIZATION_AREA_UN_DIVIDE(43210103,"未配置系统级行政区划数据"),
    ORGANIZATION_NOT_CONFIGURED_TREATY_DATA(43210104,"未配置系统级考试协议数据"),
    ORGANIZATION_NOT_CONFIGURED_VIOLATION_HAND_DATA(43210105,"未配置系统级违纪处理数据"),
    ORGANIZATION_NOT_CONFIGURED_ACTION_DATA(43210106,"未配置系统级违纪行为数据"),
    ORGANIZATION_NOT_CONFIGURED_TASK_DATA(43210107,"未配置系统级考试系统配置数据"),
    ORGANIZATION_NOT_CONFIGURED_VIOLATION_ACTION_REPORT_DATA(43210108,"未配置系统级行为分析数据"),
    ORGANIZATION_GET_ID_EXCEPTION(43210109,"获取机构id异常"),
    DEPT_GET_ID_EXCEPTION(43210110,"获取部门id异常"),
    DEPT_GET_INFO_EXCEPTION(43210111,"获取部门详情异常"),
    //21.2
    GL_LOGIN_URL_GET(43210201,"获取平台端登录地址异常。"),

    //========================= 22.区域接口 =========================

    //22.1
    EXAM_AREA_QUERY_PROVINCE_AREA_EXCEPTION(43220101,"查询省级区域异常"),
    EXAM_AREA_AREA_ID_IS_NULL(43220102,"区域id不能为空"),
    EXAM_AREA_NON_EXIST(43220103,"区域不存在"),
    IMPORT_FILE_NOT_EXIST(43220104,"导入文件不存在，无法导入"),
    WRONG_FILE_TYPE(43220105,"导入文件类型错误"),
    HAS_OFFICE_CANDIDATE_AREA(43220106,"当前机构存在机构考生区域数据，无法导入"),
    SYS_AREA_EXCEL_CONTENT_ERROR(43220107,"导入excel内容错误"),
    IMPORT_SYS_AREA_EXCEPTION(43220108,"导入系统区域异常"),
    HAS_SYS_AREA(43220109,"当前存在系统级区域数据，无法导入"),

    //22.2
    EXAM_AREA_QUERY_CITY_BY_ID_EXCEPTION(43220201,"根据省级id查询市级区域异常"),

    //22.3
    EXAM_AREA_QUERY_DISTRICT_BY_CITY_ID_EXCEPTION(43220301,"根据市级id查询区县级区域异常"),

    //22.4
    EXAM_AREA_QUERY_ORGANIZATION_BY_AREA_ID_EXCEPTION(43220401,"根据区域id获取机构下区域名称异常"),

    //22.5
    EXAM_AREA_QUERY_TASK_PROVINCE_AREA_EXCEPTION(43220501,"查询省级区域异常"),

    //22.6

    EXAM_AREA_QUERY_TASK_CITY_BY_ID_EXCEPTION(43220601,"根据省级id查询市级区域异常"),
    //22.7
    EXAM_AREA_QUERY_DISTRICT_BY_TASK_CITY_ID_EXCEPTION(43220701,"根据市级id查询区县级区域异常"),

    //========================= 23.任务总览接口 =========================

    //23.1
    ERROR_OVERVIEW_QUERY_BM(43230101,"查询报名管理信息异常"),

    //23.2
    ERROR_OVERVIEW_QUERY_BM_LIST(43230201,"查询报名任务列表信息异常"),
    ERROR_OVERVIEW_QUERY_BM_LIST_API_NULL(43230202,"查询报名任务列表信息接口返回空异常"),


    //23.3
    ERROR_OVERVIEW_BIND(43230301,"任务绑定报名时异常"),
    ERROR_BINDTASK_HAS_TIME_DATA(43230302,"该任务已存在批次信息，不允许绑定报名"),
    ERROR_BINDTASK_HAS_CANDIDATE_DATA(43230303,"该任务已存在考生信息，不允许绑定报名"),
    ERROR_OVERVIEW_BIND_BM_NULL(43230304,"绑定报名任务时接口返回空异常"),
    ERROR_OVERVIEW_HAS_TIME_SUBJECT(43230305,"批次已绑定科目，不允许解除"),
    ERROR_OVERVIEW_UNBIND_BM_NULL(43230306,"解绑报名任务时接口返回空异常"),
    ERROR_BINDTASK_HAS_SUBJECT_DATA(43230307,"该任务已存在科目信息，不允许绑定报名"),
    ERROR_BMPROJECT_HAS_UNEND(43230308,"该报名任务还未结束，不允许绑定报名"),

    //23.4
    ERROR_OVERVIEW_UNBIND(43230401,"任务解绑报名时异常"),
    ERROR_OVERVIEW_HAS_ARRANGED(43230402,"存在编排数据，则不允许操作！"),

    //23.5
    ERROR_OVERVIEW_QUERY_EXAM_MANAGE(43230501,"查询考试管理信息异常"),

    //23.6
    ERROR_OVERVIEW_QUERY_EXAM_MONITOR(43230601,"查询考试监控信息异常"),


    //========================= 24.报名服务调用的接口 =========================

    //24.1
    ERROR_BM_API_PUSH_SUBJECT_NO_TASK (43240101,"没有找到与此报名绑定的任务"),

    //24.2
    ERROR_BM_API_PUSH_SUBJECT(43240201,"推送科目接口异常"),
    ERROR_BM_API_NOT_DELETE(43240202,"科目已经绑定批次，则不允许删除。"),
    TASK_HAS_NOT_YET_BEEN_BOUND_FOR_REGISTRATION(43240203,"考试任务未绑定报名"),
    DUPLICATE_TASK_BEEN_BOUND_REGISTRATION_FOUND(43240204,"存在多个绑定相同报名的考试任务"),


    //24.3
    ERROR_BM_API_PUSH_AREA(43240301,"推送区域接口异常"),

    //24.4
    ERROR_BM_API_PUSH_CANDIDATE(43240401,"推送考生接口异常"),
    ERROR_BM_API_SUBJECT_NOT_FOUND(43240402,"没有科目信息，不允许推送考生"),
    ERROR_BM_API_GET_CANDIDATE_NO(43240403,"未找到考生信息"),
    ERROR_BM_API_GET_CANDIDATE_CARD_NO(43240404,"考生准考证还未生成"),

    //24.5
    ERROR_BM_API_GET_CANDIDATE_CARD(43240501,"获取考生准考证接口异常"),

    //24.6
    ERROR_BM_API_GET_CANDIDATE_INFO(43240601,"报名系统获取考生编排数据失败"),

    //24.7
    ERROR_BM_API_PUSH_CANDIDATE_SUBJECT(43240701,"推送考生科目接口异常"),

    //24.8
    ERROR_BM_API_GET_CANDIDATE_CARD_URL(43240801,"获取考生准考证接口异常"),

    //24.9
    GET_WECHAT_CANDIDATE_ARRANGE_EXCEPTION(43240901,"获取微信考生考试安排异常"),
    //24.10
    GET_BATCH_WECHAT_CANDIDATE_ARRANGE_EXCEPTION(43241001,"批量获取微信考生考试安排异常"),

    //24.11
    GET_WECHAT_CANDIDATE_ARRANGE_DETAIL_EXCEPTION(43241101,"获取微信考生考试安排详情异常"),
    GET_WECHAT_CANDIDATE_ARRANGE_DETAIL_NONE_EXCEPTION(43241102,"未查询到编排数据。"),


    //========================= 25.考试服务调用的接口 =========================

    //25.1
    ERROR_KS_GET_TASK(43250101,"获取用户下所有的任务信息参数异常"),
    ERROR_KS_GET_TASK_PARAM(43250102,"考试端获取人员任务接口参数验证不正确。"),

    //25.2
    ERROR_KS_GET_USER_ROOM(43250201,"考试端获取人员考场接口出错"),
    ERROR_KS_GET_USER_ROOM_PARAM(43250202,"考试端获取人员考场接口参数验证不正确"),

    //25.3
    ERROR_KS_GET_USER_TIME(43250301,"考试端获取人员批次接口异常"),
    ERROR_KS_GET_USER_TIME_PARAM(43250302,"考试端获取人员批次接口参数验证不正确"),
    ERROR_KS_USER_TYPE_NONE(43250303, "考试端传入未知类型人员信息。"),

    //25.4
    ERROR_GET_TASK(43250401,"获取任务基本信息异常"),


    //25.5 通过考试任务id、批次id、准考证号获取考生区域信息
    GET_CANDIDATE_AREA_EXCEPTION(43250501, "通过考试任务id、批次id、准考证号获取考生区域信息异常"),

    //25.6
    GET_CANDIDATE_ARRANGE_EXCEPTION(43250601, "通过任务id和批次id获取现考现评编排数据异常"),

    //25.7
    GET_TEST_CLASSIFY_EXCEPTION(43250701, "通过任务获取考试分类异常"),

    //========================= 26.考务人员接口 =========================

    //26.1
    ERROR_GET_EXAMINER_ORG(43260101,"查询考务人员组织机构异常"),
    ERROR_DELETE_EXAMINER_ORG(43260104,"删除考试任务监考人员异常"),
    ERROR_DELETE_EXAMINER_LOCK(43260106,"已存在编排考点数据，不允许删除操作"),
    ERROR_DELETE_EXAMINER_TASK(43260107,"选择的用户中存在监考员，请先在监考员管理进行删除操作！"),
    ERROR_QUERY_EXAMINER_ORG(43260105,"查询当前任务绑定监控员异常"),
    PARAM_TASK_ID_CAN_NOT_NULL(43260102,"任务id不能为空"),
    ERROR_GET_POWER_USER(43260103,"获取权限平台用户接口异常"),

    //26.2
    ERROR_GET_OFFICE_EXAMINER_PAGE(43260201,"查询机构用户分页数据异常"),


    //26.3
    ERROR_GET_EXAMINER_USER(43260301,"获取考务人员信息列表异常"),
    PARAM_TIME_ID_CAN_NOT_NULL(43260302,"批次id不能为空"),
    ERROR_TREE_NODE_TYPE_NOT_FOUND(43260303,"树节点类型不存在"),

    //26.4
    ERROR_SAVE_EXAMINER_USER(43260401,"保存考务人员监考老师设置异常"),
    PARAM_USER_INFO_CAN_NOT_NULL(43260402,"用户信息不能为空"),

    //26.5
    ERROR_UPDATE_EXAMINER_USER(43260501,"修改考务人员信息异常"),
    PARAM_USER_ID_CAN_NOT_NULL(43260502,"用户id不能为空"),
    PARAM_ROOM_INFO_CAN_NOT_NULL(43260503,"考场信息不能为空"),

    //26.6
    ERROR_RESET_EXAMINER_USER(43260601,"重置考务人员密码异常"),

    //26.7
    EXAMINER_ALLOCATION_EXCEPTION(43260701,"考务人员分配异常"),
    EXAMINER_NOT_FOUND_IN_TIME(43260702,"当前批次下暂无考务人员"),
    ROOM_NOT_FOUND_IN_TIME(43260703,"当前批次下暂无考场"),
    USER_TYPE_NOT_FOUND(43260704,"用户类型不存在"),


    //========================= 27.进度接口 =========================

    //========================= 28.考生区域接口 ======================
    //28.1获取考生省级区域下拉列表
    GET_PROVINCE_LIST_EXCEPTION(43280101,"获取考生省级区域下拉列表失败"),

    //28.2获取考生市级区域下拉列表
    GET_CITY_LIST_EXCEPTION(43280201,"获取考生市级区域下拉列表失败"),

    //28.3获取考生区县级区域下拉列表
    GET_DISTRICT_LIST_EXCEPTION(43280301,"获取考生区县级区域下拉列表失败"),

    //========================= 29.成绩服务调用接口 =========================
    GET_PROVINCE_BY_TASK_ID_EXCEPTION(43290101, "获取任务下的考生省份信息异常"),
    GET_CANDIDATE_CITY_BY_ID_EXCEPTION(43290201, "获取任务下指定省份下的市信息异常"),

    //========================= 30.模拟测试考务包接口 =========================
    //30.1 查询模拟测试考务包分页数据
    GET_TASK_MOCK_ROOM_DATA_PAGE_EXCEPTION(43300101, "查询模拟测试考务包分页数据异常"),

    //30.2 生成考试任务下的模拟测试考务包
    CREATE_MOCK_ROOM_DATA_BY_TASK_EXCEPTION(43300201, "生成考试任务下的模拟测试考务包异常"),
    CREATE_MOCK_ROOM_DATA_BY_TASK_TASK_NOT_FOUND(43300202, "考试任务不存在"),
    CREATE_MOCK_ROOM_DATA_BY_TASK_NOT_LOCKED(43300203, "未锁定编排数据，无法生成模拟测试考务包"),
    CREATE_MOCK_ROOM_DATA_BY_TASK_ALREADY_EXISTS(43300204, "模拟测试考务包已存在"),
    CREATE_MOCK_ROOM_DATA_BY_TASK_EMPTY_ROOM_FOUND(43300205, "存在未编排考生的考场，无法生成模拟测试考务包"),

    //========================= 31.平台端调用接口 =========================
    //31.1 获取考试任务信息分页数据
    GET_TASK_INFO_PAGE_EXCEPTION(43310101, "获取考试任务信息分页数据异常"),

    //31.2 绑定平台项目
    BIND_PLATFORM_EXCEPTION(43310201, "绑定平台项目异常"),

    //31.3 解除绑定平台项目
    UNBIND_PLATFORM_EXCEPTION(43310301, "解除绑定平台项目异常"),

    //31.4 获取考试任务统计信息
    LIST_TASK_STATISTICS_EXCEPTION(43310401, "获取考试任务统计信息异常"),

    //========================= 32.准考证任务模板接口 开始 =========================

    //========================= 34.准考证任务模板接口 结束 =========================
    ADMISSION_TICKET_TEMPLATE_UPDATE_FAIL(43320301, "更新准考证任务模板失败"),
    ADMISSION_TICKET_TEMPLATE_GET_FAIL(43320401, "获取准考证任务模板失败"),
    ADMISSION_TICKET_TEMPLATE_NOT_EXIST_FAIL(43320402, "模板不存在"),
    ADMISSION_TICKET_TEMPLATE_GET_PROJECT_COLLECT_FAIL(43320501, "获取可以选择的配置异常"),
    //========================= 34.准考证任务接口 开始 =========================
    ADMISSION_TICKET_INFO_CREATE_FAIL(43340101, "创建或者编辑准考证任务失败"),
    ADMISSION_TICKET_INFO_CREATE_NAME_ERROR(43340102, "准考证任务名称只能是长度不能超过50个字符的中英文和数字、且不能和已有准考证任务名称重复"),
    ADMISSION_TICKET_INFO_UPDATE_TICKET_DATA_SOURCE_ERROR(43340103, "准考证任务下已经生成准考证，不允许修改数据来源"),
    ADMISSION_TICKET_INFO_UPDATE_TICKET_TEMPLATE_ERROR(43340104, "准考证任务下已经生成准考证，不允许修改模板"),
    ADMISSION_TICKET_INFO_UPDATE_TICKET_SUBJECT_ERROR(43340105, "准考证任务下已经生成准考证，不允许修改科目设置"),
    ADMISSION_TICKET_INFO_UPDATE_TICKET_EXAM_ERROR(43340106, "准考证任务下已经生成准考证，不允许修改考试名称"),
    ADMISSION_TICKET_INFO_CREATE_TICKET_EXIST_ERROR(43340107, "考试已经关联准考证"),
    ADMISSION_TICKET_INFO_CREATE_TICKET_OOF_LINE_IMPORT_ERROR(43340108, "当前选择的数据来源为虚拟考场考试，且考生数据为线下导入，不允许选择自定义模板，请重新选择！"),
    ADMISSION_TICKET_INFO_CREATE_TICKET_PUBLISH_ERROR(43340109, "准考证任务已发布状态下或者已经生成准考证不允许编辑任何信息"),
    ADMISSION_TICKET_INFO_CREATE_TICKET_VIRTUAL_ROOM_NOT_PUBLISH_ERROR(43340110, "虚拟考场未发布不允许创建准考证"),
    ADMISSION_TICKET_INFO_CREATE_TICKET_NOT_EXIST_ERROR(43340111, "准考证任务不存在"),
    ADMISSION_TICKET_INFO_CREATE_TICKET_OFF_LINE_MORE_SUBJECT_ERROR(43340112, "线下考试不允许使用多科目生成"),
    ADMISSION_TICKET_INFO_CREATE_TICKET_SYNC_KW_PROJECT_COLLECT_CONFIG_ERROR(43340113, "无考场同步考生配置项报错"),
    ADMISSION_TICKET_INFO_UPDATE_TICKET_ARCHIVED_ERROR(43340114, "准考证任务已经归档不允许修改任何信息"),
    ADMISSION_TICKET_INFO_UPDATE_FAIL(43340201, "更新准考证任务归档状态失败"),
    ADMISSION_TICKET_INFO_DELETE_FAIL(43340301, "删除准考证任务失败"),
    ADMISSION_TICKET_INFO_PUBLISH_DELETE_FAIL(43340302, "准考证任务已经发布后或者已经有准考证生成后不允许删除"),
    ADMISSION_TICKET_INFO_LIST_FAIL(43340401, "查询准考证任务列表失败"),
    ADMISSION_TICKET_INFO_QUERY_DATA_SOURCE_FAIL(43340701, "查询数据来源失败"),
    ADMISSION_TICKET_INFO_QUERY_KS_NAME_FAIL(43340801, "查询考试名称失败"),
    ADMISSION_TICKET_INFO_QUERY_IS_GENERATED_TICKET_FAIL(43341001, "查询准考证失败"),
    ADMISSION_TICKET_INFO_QUERY_NOT_EXIAST_FAIL(43341002, "准考证不存在"),
    ADMISSION_TICKET_INFO_QUERY_BY_EXAM_ID_FAIL(43341201, "通过虚拟考场id或者无考场id查询准考证详情失败"),
    //========================= 34.准考证任务接口 结束 =========================

    //========================= 99.临时接口 =========================
    ERROR_UNIFIED_ADMISSION_NUMBER(43990101, "统一准考证号异常。"),
    ERROR_UNIFIED_ADMISSION_NUMBER_NO_SOURCE_DATA(43990102, "操作异常，源任务没有编排数据。"),
    ERROR_UNIFIED_ADMISSION_NUMBER_NO_TARGET_DATA(43990103, "操作异常，目标任务没有编排数据。"),
    ERROR_UNIFIED_TRANSLATE_VALUE(43990104, "操作异常，未找到翻译参数值。"),
    ERROR_UNIFIED_TRANSLATE(43990105, "操作异常，更新翻译参数值执行异常。"),

    //5
    ERROR_INIT_OPENPROMISE(43990501, "操作异常，更新翻译参数值执行异常。"),

    //6
    ERROR_UPDATE_AREA_CODE(43990601, "升级系统区域编码失败异常。"),

    REPEAT_SEND_MESSAGE_EXCEPTION(46010101, "当前发送短信进行中，请稍后重试"),

    TOO_MANY_SEND_MESSAGE_EXCEPTION(46010102, "当前发送中的短信已超限，请稍后重试"),

    ERROR_PROJECT_ID_EXCEPTION(46010103, "查询项目异常"),

    NOT_SUITABLE_SEND_MESSAGE_EXCEPTION(46010104, "当前没有符合条件的报名进行短信发送"),

    ERROR_APP_KEY_EXCEPTION(46010105, "appKey不匹配"),

    ;

    //=========================  =========================
    private final Integer code;
    private final String msg;

    ResponseCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    /*public static void main(String[] args) {
        ResponseCode[] responseCodes = ResponseCode.values();
        Arrays.stream(responseCodes).forEach(v -> {
            System.out.println(StringUtils.join(v.getCode(),": ","'", v.getMsg(),"',"));
        });
    }*/
}
